package com.daiyang.campus_lucky_draw.service;

import com.daiyang.campus_lucky_draw.contreller.param.CreatePrizeParam;
import com.daiyang.campus_lucky_draw.contreller.param.PageListParam;
import com.daiyang.campus_lucky_draw.service.dto.PageListDTO;
import com.daiyang.campus_lucky_draw.service.dto.PrizeDTO;
import org.springframework.web.multipart.MultipartFile;

public interface PrizeService {
    /**
     * 创建奖品
     *
     * @param param
     * @param prizePic
     * @return
     */
    Long createPrize(CreatePrizeParam param, MultipartFile prizePic);
    /**
     * 翻⻚查询奖品列表
     *
     * @param param
     * @return
     */
    PageListDTO<PrizeDTO> findPrizeList(PageListParam param);
}
